import 'package:factoryside/generated/json/base/json_convert_content.dart';
import 'package:factoryside/generated/json/base/json_field.dart';

class OrderListEntity with JsonConvert<OrderListEntity> {
	@JSONField(name: "OrderID")
	int orderID;
	@JSONField(name: "StateHtml")
	String stateHtml;
	@JSONField(name: "State")
	String state;
	@JSONField(name: "Phone")
	String phone;
	@JSONField(name: "UserName")
	String userName;
	@JSONField(name: "Address")
	String address;
	@JSONField(name: "Guarantee")
	String guarantee;
	@JSONField(name: "CreateDate")
	String createDate;
	@JSONField(name: "TypeName")
	String typeName;
	@JSONField(name: "UpdateTime")
	dynamic updateTime;
	@JSONField(name: "CompanyName")
	String companyName;
	@JSONField(name: "OrderMoney")
	double orderMoney;
	@JSONField(name: "BeyondMoney")
	double beyondMoney;
	@JSONField(name: "LastReturnVisitDate")
	dynamic lastReturnVisitDate;
	@JSONField(name: "OrderRecord")
	String orderRecord;
	@JSONField(name: "UserID")
	String userID;
	@JSONField(name: "Product")
	String product;
	@JSONField(name: "OutputOrderAllRecordInfoDtos")
	List<OrderListOutputOrderAllRecordInfoDto> outputOrderAllRecordInfoDtos;
	@JSONField(name: "Prodcts")
	List<OrderListProdct> prodcts;
	@JSONField(name: "SignList")
	List<dynamic> signList;
	@JSONField(name: "OrderNumber")
	String orderNumber;
	@JSONField(name: "Memo")
	String memo;
	@JSONField(name: "ThirdPartyOrderNumber")
	String thirdPartyOrderNumber;
}

class OrderListOutputOrderAllRecordInfoDto with JsonConvert<OrderListOutputOrderAllRecordInfoDto> {
	@JSONField(name: "RecordId")
	int recordId;
	@JSONField(name: "CreateDate")
	String createDate;
	@JSONField(name: "Content")
	String content;
}

class OrderListProdct with JsonConvert<OrderListProdct> {
	@JSONField(name: "ProductType")
	String productType;
	@JSONField(name: "BrandName")
	String brandName;
	@JSONField(name: "SubCategoryName")
	String subCategoryName;
	@JSONField(name: "Memo")
	String memo;
	@JSONField(name: "ProdModelName")
	String prodModelName;
	@JSONField(name: "Num")
	String num;
	@JSONField(name: "OrderID")
	int orderID;
}
